package com.jianyun.jyzs.model.imdoel;

import com.jianyun.jyzs.bean.MeUserInfo;

/**
 * Created by yangshijun on 2018/5/28.
 */

public interface IMeFragModel {

    /**
     * 登录成功后获取用户信息
     * @param enterpriseCode
     * @param userId
     * @param onGetUserInfoListener
     */
    void getUserInfo(String enterpriseCode,String userId, OnGetUserInfoListener onGetUserInfoListener);

    public interface OnGetUserInfoListener{
        void onSuccess(MeUserInfo userInfo);
        void onFailed();
        void onException(String msg);
    }

}
